
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class node extends CI_Controller {

    /**
     * Constructor Param Term
     * 
     * @Project     Developer System Site
     * @Module   	node
     * @author		VSOFT Dev Team
     * @param:
     * - idnode   | Type:int | Length:5 | Primary Key : TRUE 
     * - title          | Type:varchar | Length:220
     * - content          | Type:text | Length:
     * - status          | Type:int | Length:1 | Default :1 
     */
 
    public function __construct()
    {
        parent::__construct();
        $this->load->database();
	   $this->load->model('m_node');        
    }
    
	public function index()
	{

		  echo "ok";

	}
    
    public function update()
    {


    }

    public function getnode($id = '')
    {
        echo "GET NODE ".$id;
        $data['data'] = $this->m_node->getData($id);
        $this->load->view('v_getone',$data);
    }
    
    public function delete()
    {


    }


    public function read()
    {


    }
}

/* End of file node.php */